package com.tools.web.interceptor.auth;

import com.tools.common.object.Note;

/**
 * 登录设备类型 value 枚举
 * */
@Note("登录设备类型 value 枚举")
public class LoginDeviceType {

    @Note("浏览器端")
    public static final LoginDeviceType BROWSER = new LoginDeviceType("browser");

    @Note("APP 端")
    public static final LoginDeviceType APP = new LoginDeviceType("app");

    @Note("小程序端")
    public static final LoginDeviceType MINIAPP = new LoginDeviceType("miniapp");

    protected LoginDeviceType(String value) {
        this.value = value;
    }


    private final String value;

    public String getValue() {
        return value;
    }

    @Override
    public String toString() {
        return value;
    }
}
